
pkgname=less
pkgver=530
pkgrel=1
pkgdesc="Terminal based program for viewing text files"
license=('GPL3')
arch=('x86_64')
url="http://www.greenwoodsoftware.com/less"
depends=('glibc' 'ncurses' 'pcre')
groups=('base')
source=("http://www.greenwoodsoftware.com/less/${pkgname}-${pkgver}.tar.gz")
md5sums=('6a39bccf420c946b0fd7ffc64961315b')

build() {
  cd ${pkgname}-${pkgver}
  
  sh configure --prefix=/usr --sysconfdir=/etc --with-regex=pcre
  make
}

package() {
  cd ${pkgname}-${pkgver}
  
  make DESTDIR=${pkgdir} install
}
